package com.googlecode.animator.data.cameras
{
	import com.googlecode.animator.data.IValueObject;
	
	public class MainViewCameraVO extends CameraVO
	{
		public static const TYPE:String = "MainViewCamera";
		
		public function MainViewCameraVO()
		{
			name = "default_camera_1";
			x = 0;
			y = 500;
			z = -2500;
			zoom = 45;
			zoomScale = 1;
			label = "Main View";
			gridOrientation = "notSet";
			plane3DOrientation = "xy";
			roll = 0;
			yUp = false;

		}
		
		override public function clone(src:* = null):IValueObject
		{
			return super.clone(new MainViewCameraVO());
			
		}
		
		override public function toXML(src:XML = null):XML
		{
			return super.toXML(new XML(<{TYPE} name={this.name} label={this.label}></{TYPE}>));
		}
	}
}